package cn.xbtop.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import cn.xbtop.mapper.TTypeMapper;
import cn.xbtop.bean.TType;
import cn.xbtop.service.TTypeService;
/**
 * @author  Mxb
 * @date  2020/6/6 18:37
 * @version 1.0
 */
@Service
public class TTypeServiceImpl implements TTypeService{

    @Resource
    private TTypeMapper tTypeMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tTypeMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TType record) {
        return tTypeMapper.insert(record);
    }

    @Override
    public TType selectByPrimaryKey(Integer id) {
        return tTypeMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKey(TType record) {
        return tTypeMapper.updateByPrimaryKey(record);
    }

}
